home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / msql-1.0.6 / src / makegen / install.mm < prev    next >
Text File  |  1995-01-04  |  307b  |  25 lines

  1. #!/bin/sh
  2.  
  3. . $TOP/makegen/makegen.cf
  4.  
  5. src=$1
  6. dest=$2
  7. mode=$3
  8. owner=$4
  9. group=$5
  10.  
  11. echo    "install ::"
  12. echo    "    cp $src $dest"
  13. if test "$mode." != "."
  14. then
  15.     echo    "    $chmod $mode $dest"
  16. fi
  17. if test "$owner." = "root."
  18. then
  19.     echo    "    $chown $owner $dest"
  20. fi
  21. if test "$group." != "."
  22. then
  23.     echo    "    $chgrp $group $dest"
  24. fi
  25.